home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
lbkocx11
/
setup.inf
< prev
Wrap
INI File
|
1997-11-18
|
5KB
|
136 lines
;
; "Logbook" ActiveX control installation file
;
; Release 1.1.1
;
; Copyright 1996-1997 by Andy Zanna. All rights reserved
;
[dialogs]
HelpFile = Logbook.hlp
HelpTopic = Installation
Title = Logbook Control Setup - Version 1.1
Contents = the Logbook Control, docs and samples
[version]
signature="$CHICAGO$"
[DefaultInstall]
; Commands for installation on a Windows 95 system
CopyFiles=STP.copy, STP.copy.sys, STP.copy.sys32, STP.copy.hlp, STP.copy.inf, STP.copy.tst
UpdateInis=STP.inis
AddReg=STP.Add.Reg
[DefaultInstall.nt]
; Commands for installation on an NT system (Registry setup of UNINSTALL is different)
CopyFiles=STP.copy, STP.copy.sys, STP.copy.sys32, STP.copy.hlp, STP.copy.inf, STP.copy.tst
UpdateInis=STP.inis
AddReg=STP.Add.RegNT
[DefaultUnInstall]
; Commands to execute when uninstalling
AddReg = STP.Uninst.Add.Reg
DelFiles = STP.copy, STP.copy.tst, STP.copy.hlp, STP.copy.inf, STP.AutoGen
DelReg = STP.Del.Reg
DelInis = STP.Del.inis
[STP.copy]
LOGBOOK.BAS
README.TXT
[STP.copy.tst]
LGBKTEST.VBP
LGBKTEST.FRM
[STP.copy.hlp]
LOGBOOK.HLP
[STP.copy.sys]
logbk16.ocx
[STP.copy.sys32]
logbk32.ocx
[STP.copy.inf]
SETUP.INF
[STP.AutoGen]
LOGBOOK.GID
LOGBOOK.FTS
[DestinationDirs]
STP.copy=24,%STPPROG% ; samples go in applications directory
STP.copy.tst=24,%STPTST% ; samples go under applications directory
STP.copy.hlp=18 ; help directory
STP.copy.inf=24,%STPPROG% ; INF goes in application directory
STP.copy.sys=10,%SYSDIR% ; "system" directory for win16 stuff
STP.copy.sys32=11 ; system or system32 directory for win32 stuff
STP.copy.win=25 ; shared directory (windows)
STP.AutoGen=18 ; cache files created by winhelp
STP.Dirs=24,%STPPROG% ; LOGBOOK samples dir must be removed explicitely
[SourceDisksNames]
1="Logbook Setup","LBK",,
[SourceDisksFiles]
README.TXT=1
logbk32.ocx=1,controls
logbk16.ocx=1,controls
LOGBOOK.BAS=1,controls
LOGBOOK.HLP=1
SETUP.INF=1
LGBKTEST.VBP=1,vbtest
LGBKTEST.FRM=1,vbtest
[STP.inis]
vb.ini, "VBX Conversions32",, "Logbook.vbx={813AE543-40C5-11D0-B4D8-444553540000}#1.0#0;%11%\logbk32.ocx"
vb.ini, "VBX Conversions16",, "Logbook.vbx={813AE543-40C5-11D0-B4D8-444553540000}#1.0#0;%10%\%SYSDIR%\logbk16.ocx"
[STP.Add.Reg]
; add entries to the registry for set-up finalization and uninstall
HKLM,%USTP%,DisplayName,,"%STP_Desc%"
HKLM,%USTP%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %24%\%STPPROG%\SETUP.INF"
HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX16%,,"RunDll %10%\%SYSDIR%\logbk16.ocx,DllRegisterServer"
HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX32%,,"RunDll32 %11%\logbk32.ocx,DllRegisterServer"
HKLM,%STPSCV%\RunOnce\Setup,%STP_READ_ME%,,"WINHLP32.EXE -i Contents %18%\LOGBOOK.HLP"
[STP.Add.RegNT]
; Contains NT-specific Registry commands (uninstall command is different)
HKLM,%USTP%,DisplayName,,"%STP_Desc%"
HKLM,%USTP%,UninstallString,,"rundll32 syssetup.dll,SetupInfObjectInstallAction DefaultUninstall %24%\%STPPROG%\SETUP.INF"
HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX16%,,"RunDll %10%\%SYSDIR%\logbk16.ocx,DllRegisterServer"
HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX32%,,"RunDll32 %11%\logbk32.ocx,DllRegisterServer"
HKLM,%STPSCV%\RunOnce\Setup,%STP_READ_ME%,,"WINHLP32.EXE -i Contents %18%\LOGBOOK.HLP"
[STP.Del.Reg]
; During uninstall, remove these entries from the registry
HKLM,%USTP%
[STP.Uninst.Add.Reg]
HKLM,%STPSCV%\RunOnce\Setup,%STP_UNREG_OCX16%,,"RunDll %10%\%SYSDIR%\logbk16.ocx,DllUnregisterServer"
HKLM,%STPSCV%\RunOnce\Setup,%STP_UNREG_OCX32%,,"RunDll32 %11%\logbk32.ocx,DllUnregisterServer"
HKLM,%STPSCV%\RunOnce\Setup,%STP_DEL_DIRS%,,"deltree /y %24%\%STPPROG%"
HKLM,%STPSCV%\RunOnce\Setup,%STP_DEL_OCA32%,,"deltree /y %11%\logbk32.*"
HKLM,%STPSCV%\RunOnce\Setup,%STP_DEL_OCA16%,,"deltree /y %10%\%SYSDIR%\logbk16.*"
[Strings]
SYSDIR = "system"
STPPROG = "PROGRA~1\Logbook"
STPTST = "PROGRA~1\Logbook\VBTest"
STP_Desc = "Logbook Control" ; shortcut name
STP_ShortDesc = "Logbook" ; details view
USTP = "Software\Microsoft\Windows\CurrentVersion\Uninstall\LOGBOOK"
STPSCV = "Software\Microsoft\Windows\CurrentVersion"
STP_REG_OCX16 = "Registering 16-bit Controls"
STP_REG_OCX32 = "Registering 32-bit Controls"
STP_UNREG_OCX16= "Unregistering 16-bit Controls"
STP_UNREG_OCX32= "Unregistering 32-bit Controls"
STP_READ_ME = "Showing Documentation"
STP_DEL_OCA32 = "Removing Control and accessory files (32 bit)"
STP_DEL_OCA16 = "Removing Control and accessory files (16 bit)"
STP_DEL_DIRS = "Removing leftover directories"